package com.wangy.test.jdkProxy;

import com.wangy.test.jdkProxy.impl.HelloWordImpl;

public class JDKProxyDemo {
	
	public static void main(String[] args) {
		JDKProxyExample jdkProxyExample = new JDKProxyExample();
		HelloWord proxy = (HelloWord) jdkProxyExample.bind(new HelloWordImpl());
		proxy.sayHellow("欣欣");
		
	}

}
